<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>月度报表增加</title>
    <link rel="stylesheet" href="{{url('/css/finance/monthly-report.css')}}">
    <link rel="stylesheet" href="{{url('/css/app.css')}}">
</head>
<body>
<div class="report">
    <h1 class="h1">月度报表增加</h1>
    @include('flash::message')
    <form action="{{url('/admin/addStatistics')}}" method="post">
        {{csrf_field()}}
        <label>请选择结算时间</label>
        <select name="year" id="">
            {{$ago = date('Y') - 30}}
            @for($i = 0; $i< 60; $i++)
                <option value="{{$ago}}" @if($ago == date('Y')) selected @endif>{{$ago}}年</option>
                {{$ago++}}
            @endfor
        </select>
        <select name="month" id="">
            @for($i = 0; $i< 12; $i++)
                <option value="{{$i + 1}}" @if($i + 1 == date('m')) selected @endif>{{$i + 1}}月</option>
            @endfor
        </select>
        <p>
            <button type="submit" value="">确定</button>
        </p>
    </form>
</div>
</body>
</html>
